home *** CD-ROM | disk | FTP | other *** search
- // *******************************************************************************
- // SIN HUD Layout - DM Design - Low Res Version
- //
- // Custom HUD for the DM player who wants minimal screen overlap
- // *******************************************************************************
- //
-
- //###
- // put this here so that it wouldn't draw over other stuff
-
- // night vision color overlay
- if 15
- // fc 1 1 1 0.25
- // cbt nightvision
-
- // screen blend
- xl 0 yb 0 fill 0.1 1 0.1 0.075 screenwidth screenheight
-
- // dark view frame
- // xl 0 yt -60 fill 0 0 0 0.3 screenwidth 60
- // xl 0 yb 0 fill 0 0 0 0.3 screenwidth 60
-
- // top lines
- xv -80 yv 45 fill 0.1 0.75 0.1 0.2 160 2
- xv -75 yv 48 fill 0.1 0.75 0.1 0.12 150 1
-
- // bottom lines
- xv -80 yv -47 fill 0.1 0.75 0.1 0.2 160 2
- xv -75 yv -49 fill 0.1 0.75 0.1 0.12 150 1
-
- // right bracket
- xv -110 yv -55 fill 0.1 0.75 0.1 0.2 2 110
- xv -108 yv 53 fill 0.1 0.75 0.1 0.2 25 2
- xv -108 yv -55 fill 0.1 0.75 0.1 0.2 25 2
- xv -112 yv -50 fill 0.1 0.75 0.1 0.12 1 100
-
- // left bracket
- xv 109 yv -55 fill 0.1 0.75 0.1 0.2 2 110
- xv 84 yv 53 fill 0.1 0.75 0.1 0.2 25 2
- xv 84 yv -55 fill 0.1 0.75 0.1 0.2 25 2
- xv 112 yv -50 fill 0.1 0.75 0.1 0.12 1 100
-
- fc 0.2 1 0.2 0.25
- jcx yb 50 string "Therm-Optics Engaged"
- // range to target number
- xv 10 yv -10 rangenum
- fc 1 1 1 1
-
- endif
- //###
-
- // -------------------------------------------------------------------------------
- // Health and Armor status bars
- // Must be displayed before image ovelay is displayed
- xr -49 yb 0 hbar 3 48 // Health status bar line
- xr -6 yb 0 rbar 3 48 // Armor status bar line
-
- // Body Armor Damage Display
- //
- // Powerup1 = Reactive Shields or Invulnerability
- // Powerup2 = Adrenaline
- // Powerup3 = Photon Optic Displacement Device or Invisibility
- // Powerup4 = Mutagen Transformation
- //
- ifpowerup 1 // Shields Display
- xr -50 yb 0 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yb 48 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yb 39 smnum 20 // Head Armor Amount
- xr -46 yb 28 smnum 21 // Chest Armor Amount
- xr -46 yb 11 smnum 22 // Leg Armor Amount
- xr -45 yb 0 arbar 20 17 47 // All numbers overlay area
- ifpowerup 1 // Adrenaline Display
- xr -50 yb 0 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yb 48 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yb 39 smnum 20 // Head Armor Amount
- xr -46 yb 28 smnum 21 // Chest Armor Amount
- xr -46 yb 11 smnum 22 // Leg Armor Amount
- xr -45 yb 0 arbar 20 17 47 // All numbers overlay area
- ifpowerup 1 // Cloak Display
- xr -50 yb 0 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yb 48 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yb 39 smnum 20 // Head Armor Amount
- xr -46 yb 28 smnum 21 // Chest Armor Amount
- xr -46 yb 11 smnum 22 // Leg Armor Amount
- xr -45 yb 0 arbar 20 17 47 // All numbers overlay area
- ifpowerup 4 // Mutagen Display
- xr -50 yb 0 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -28 yb 48 smnum 28 // Time display of the shield powerup on Chest
- xr -46 yb 39 smnum 20 // Head Armor Amount
- xr -46 yb 28 smnum 21 // Chest Armor Amount
- xr -46 yb 11 smnum 22 // Leg Armor Amount
- xr -45 yb 0 arbar 20 17 47 // All numbers overlay area
- else //Normal Display
- xr -50 yb 0 picn low_res/hud_body_01 // Body Image - Overall Damage indicator
- xr -46 yb 39 smnum 20 // Head Armor Amount
- xr -46 yb 28 smnum 21 // Chest Armor Amount
- xr -46 yb 11 smnum 22 // Leg Armor Amount
- xr -45 yb 41 arbar 20 28.5 6 // Head overlay area
- xr -45 yb 29 arbar 21 28.5 12 // Chest overlay area
- xr -45 yb 0 arbar 22 28.5 29 // Leg overlay area
- endif
-
- xr -84 yb 0 pickarmor up // Display area when you pick up item
-
- // -------------------------------------------------------------------------------
- // Health title & current count
- xl 2 yb 0 fill 0 0 0 0.66 96 23 // Background fill for Titles
- xl 2 yb 10 fill 1 1 1 1 96 2 // Title dividing line
- fc 0 0.3 0.8 1
- xl 2 yb 2 string HEALTH: // Title - HEALTH
- fc 1 1 1 1
- xl 60 yb 2 smnum 0 // Health Amount
- xr -118 yb 0 pickhealth up // Display area when you pick up health
-
- // Ammo Title & current count
- fc 0 0.3 0.8 1
- xl 2 yb 13 string AMMO: // Title - AMMO
- fc 1 1 1 1
- xl 44 yb 13 smnum 2 // Ammo Amount
-
- // Current weapon
- xl 2 yb 24 pic 25 // Shows display of current weapon
- xl 3 yb 26 clipammo // Clip Ammo
- xl 2 yb 58 pickweap up // Display area when you pick up item
-
- // -------------------------------------------------------------------------------
- // Items title & current inv item
- xl 2 yt -27 fill 0 0 0 0.66 64 11 // Background fill for area
- fc 0 0.3 0.8 1
- xl 2 yt -25 string ITEMS: // Title - ITEMS
- fc 1 1 1 1
- xl 50 yt -25 smnum 4 // Item Amount
- xl 2 yt -60 fill 0 0 0 0.66 32 32 // Background fill for area
- xl 36 yt -60 pickitem right // Display area when you pick up item
-
- // Current inv item
- if 3
- xl 2 yt -76 pic 3 // Shows display of current INV item
- endif
-
- // Floating inventory
- xv -32 yv -100 drawinv // Display for items on bodies that you can pick up
-
- // -------------------------------------------------------------------------------
- ifdm
- xr -104 yt -43 fill 0 0 0 0.66 102 11 // Background fill for DM Score
- fc 0 0.3 0.8 1
- xr -102 yt -41 string FRAGS: // Title - DM SCORE
- fc 1 1 1 1
- xr -30 yt -41 smnum 10 // Current score during DM play - Top
- endif
-
- // -------------------------------------------------------------------------------
- //###
-
- ifcp // do this if there are checkpoints
- xr -125 yt -25 string "Fastest:"
- xr -60 yt -25 fastestlap
- xr -125 yt -35 string " Last:"
- xr -60 yt -35 lapnum 12
- xr -125 yt -45 string "Current:"
- xr -60 yt -45 lapnum 13
- xr -125 yt -55 string " # CP's:"
- xr -60 yt -55 smnum 14
- endif
-
- //###
-
- // -------------------------------------------------------------------------------
- // Draw game messages - One's issued from the game to the player.
- // These lines are displayed at the top left portion of the screen.
- //
- fc 1 1 1 1
- xl 0 yt -8 drawnotify 2
-
- // Draw player messages - One's typed in from messagemode to other players.
- // This one is displayed in the open area in the middle of the HUD layout.
- //
- xl 100 yb 4 drawmessage 21
-
- // -------------------------------------------------------------------------------
- // See if we should draw the exit sign
- //
- if 31
- jcx yt -80 anim 8 exitsign_
- endif
-
- // -------------------------------------------------------------------------------
-